package com.building18.service.impl;

import com.building18.mapper.LogMapper;
import com.building18.pojo.Log;
import com.building18.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogServiceImpl implements LogService {
    @Autowired
    private LogMapper logMapper;

    @Override
    public List<Log> selectLog() {
        return logMapper.selectLog();
    }

    @Override
    public Integer deleteLog(Integer id) {
        return logMapper.deleteLog(id);
    }

    @Override
    public Integer deleteLogs(List<Integer> ids) {
        return logMapper.deleteLogs(ids);
    }
}
